package com.valuegroup.smarttodo.plugins.icaruseditor.button;


import com.valuegroup.smarttodo.plugins.icaruseditor.popover.Popover;

public interface Button {
    String NAME_TITLE = "title";
    String NAME_BOLD = "bold";
    String NAME_ITALIC = "italic";
    String NAME_UNDERLINE = "underline";
    String NAME_STRIKETHROUGH = "strikethrough";
    String NAME_FONT_SCALE = "fontScale";
    String NAME_COLOR = "color";
    String NAME_OL = "ol";
    String NAME_UL = "ul";
    String NAME_BLOCKQUOTE = "blockquote";
    String NAME_CODE = "code";
    String NAME_TABLE = "table";
    String NAME_LINK = "link";
    String NAME_IMAGE = "image";
    String NAME_HR = "hr";
    String NAME_INDENT = "indent";
    String NAME_OUTDENT = "outdent";
    String NAME_ALIGN_LEFT = "alignLeft";
    String NAME_ALIGN_CENTER = "alignCenter";
    String NAME_ALIGN_RIGHT = "alignRight";
    String NAME_HTML = "html";

    void setName(String name);

    String getName();

    boolean isEnabled();

    void setEnabled(boolean enabled);

    boolean isActivated();

    void setActivated(boolean activated);

    void command();

    void resetStatus();

    void setPopover(Popover popover);

    Popover getPopover();
}